package dht.data;

public enum MessageType {
	INIT_ACCESS,
	//
	META_READ_REQ, META_READ_RESP, META_READ_ACK,
	// start from client to server
	READ_REQ, READ_FWD, READ_FWD_ACK, READ_RESP, READ_ACK,
	// start from client to server
	WRITE_REQ, WRITE_FWD, WRITE_FWD_ACK, WRITE_RESP, WRITE_ACK,
	// start from server to master
	TABLE_REQ, TABLE_RESP, TABLE_ACK,
	// start from master to server
	SPLIT_REQ, SPLIT_RESP, SPLIT_ACK,
	// start from server to server
	SPLIT_MOVE_REQ, SPLIT_MOVE_RESP, SPLIT_MOVE_ACK,
	// start from server to master
	SPLIT_FLUSH_REQ, SPLIT_FLUSH_RESP, SPLIT_FLUSH_ACK,

	/********** for directory ***************/
	//
	DIR_META_READ_REQ, DIR_META_READ_RESP, DIR_META_READ_ACK,
	//
	DIR_META_WRITE_REQ, DIR_META_WRITE_RESP, DIR_META_WRITE_ACK,
	//
	DIR_DATA_READ_REQ, DIR_DATA_READ_RESP, DIR_DATA_READ_ACK,
	//
	DIR_DATA_WRITE_REQ, DIR_DATA_WRITE_RESP, DIR_DATA_WRITE_ACK,
}
